Skip to content

Conversation

@janezpodhostnik
Copy link
Contributor

Description

When making a nix derivation for flow-cli I noticed that some tests use networking. This fails in sandboxed environments. I added a SKIP_NETWORK_TESTS env variable to optionally skip them.


For contributor use:

  • Targeted PR against master branch
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work
  • Code follows the standards mentioned here
  • Updated relevant documentation
  • Re-reviewed Files changed in the Github PR explorer
  • Added appropriate labels

@github-actions
Copy link

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@jribbink
Copy link
Contributor

We could also just remove them in favour of a local emulator? It was probably a mistake on my end to use networking in the first place for the fork tests.

@janezpodhostnik
Copy link
Contributor Author

IMO they are useful, but they should perhaps be in more of an integration test suite.
We can just do this for now.

@janezpodhostnik janezpodhostnik merged commit 7bf31cb into master Feb 1, 2026
9 checks passed
@janezpodhostnik janezpodhostnik deleted the janez/skip-network-dependant-tests branch February 1, 2026 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants